<template>
  <div class="header">
    <div class="header-left">
      <div class="iconfont back-icon">&#xe65b;</div>
    </div>
    <div class="header-input">
      <span class="iconfont">&#xe60b;</span>
      景点/旅游/热门景区
    </div>
    <router-link to="/city">
    <div class="header-right">
        城市
        <span class="iconfont">&#xe600;</span>
    </div>
    </router-link>
  </div>
</template>
<script>
export default {
  name: "homeHeader"
};
</script>
<style lang="stylus" scoped>
@import '~@/assets/common/commonstyl/common.styl';

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  line-height: $headerHeight;
  background-color: $bgColor;
  color: #fff;
  .header-left {
    width: 64px;
    .back-icon{
        text-align: center;
        font-size: 30px;
    }
  }
  .header-input {
    flex: 1;
    box-sizing: border-box;
    border-radius: 10px;
    height: 64px;
    line-height: 64px;
    padding-left: 10px;
    margin-left: 10px;
    background-color: #fff;
    color: #ccc;
  }
  .header-right {
    width: 124px;
    text-align: center;
    color :#fff;
  }
}
</style>